<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        button {
            cursor: pointer;
        }
        button[disabled] {
            cursor: default;
        }

        input[type="text"] {
            color: blue;
        }
        
        /* 以icon开头 */
        div[class^='icon'] {
            color: blueviolet;
        }
        /* 以o2结尾 */
        div[class$="o2"] {
            color: brown;
        }
        /* 值内含有can */
        div[class*="can"] {
            color: burlywood;
        }
    </style>
</head>
<body>
    <button>按钮</button>
    <button disabled="disabled">按钮</button>

    <input type="text" value="文本框">
    <input type="search" value="搜索框">

    <div class="icon1">tu1</div>
    <div class="ico2">tu2</div>
    <div class="ican3">tu3</div>
</body>
</html>